]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
perf-tool: Force animations when running perf tests
authorJonas Ådahl <jadahl@gmail.com>
Tue, 29 Nov 2022 15:48:59 +0000 (16:48 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 29 Nov 2022 16:52:56 +0000 (17:52 +0100)
This ensures we, unless there is a remote desktop connection explicitly
asking to disable animations, we'll run with animations despite e.g.
hardware acceleration is missing.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2560>

src/gnome-shell-perf-tool.in

index 4a3e62e529c51fc976f3725bf1dc3d6ee308cf91..173aa98e446e030308297d0cff2a7ca90a883da8 100755 (executable)
@@ -45,6 +45,8 @@ def start_shell(wrap=None, perf_output=None):
         args += wrap.split(' ')
     args.append(os.path.join(self_dir, 'gnome-shell'))
 
+    args.append('--force-animations')
+
     if options.replace:
         args.append('--replace')